#include "Q4_1.h"

void q4_1_run()
{
	printf("Please enter 10 integers of array!\n");
	
	int n = 10;
	int* a = new int[n];
	register int i;

	for(i=0; i<n; i++)
	{
		printf("A[%d]: ", i);
		scanf("%d", &a[i]);
	}

	printf("number >=10\n");
	for(i=0; i<n; i++)
		if(a[i]>=10)
			printf("A[%d]: %d\n", i, a[i]);
}